home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk7 / unix / sq.manual < prev    next >
Text File  |  1995-03-18  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SQ(1)               UNIX Programmer's Manual                SQ(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      sq, usq - squeeze (compress) files
  10.  
  11. SYNOPSYS
  12.      sq [ _f_i_l_e_1 ] [ _f_i_l_e_2 ] ...
  13.      usq [ -_c_o_u_n_t ] [ -_f_c_o_u_n_t ] [ _f_i_l_e_1 ] [ _f_i_l_e_2 ] ...
  14.  
  15. DESCRIPTION
  16.      _s_q compresses one or more files, using a Huffman coding
  17.      scheme.  _u_s_q decompresses or displays one or more files
  18.      squeezed by _s_q. The algorithm is identical to the one used
  19.      by the popular public domain 'SQ' programs, originally
  20.      authored by Richard Greenlaw.
  21.  
  22.      sq will squeeze each file passed on the argument line.  It
  23.      will append `.SQ' to the original file name to create the
  24.      output file name.  If no file names are given, sq will
  25.      prompt for file names from the standard input.  A message is
  26.      printed for each file, tracing each pass of the compression
  27.      process.
  28.  
  29.      _u_s_q will unsqueeze or display the files requested on the
  30.      command line.  If no files are requested,  the file names
  31.      are input from the standard input.  If no option is given,
  32.      the file is unsqueezed to its original name.
  33.  
  34.      If the -count option is used, count lines are displayed from
  35.      the start of the file, with all unprintable characters
  36.      except CR, LF, TAB, and FF converted to periods.  The output
  37.      is sent to the standard output.  If the -fcount option is
  38.      used, the file is displayed with a formfeed appended to the
  39.      preview of each file.
  40.  
  41. AUTHOR
  42.      Richard Greenlaw (original), Theo Pozzy (ported versions)
  43.  
  44. BUGS
  45.      The file naming convention is not a one-to-one mapping, so
  46.      multiple files may be squeezed to the same output file name.
  47.      Also, the output file name for usq cannot be overridden.
  48.  
  49. SEE ALSO
  50.      compact(1)
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 2/8/86                Local                             1
  64.  
  65.  
  66.  
  67.